package cn.ac.radi.userver.waste;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

import java.lang.invoke.MethodHandles;

@SpringBootApplication
public class UWasteApplication {

    final static Logger logger = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
    public static void main(String[] args) {

        logger.info("main......: java.net.preferIPv4Stack={}", System.getProperty("java.net.preferIPv4Stack"));
        logger.debug("UServer.port: ");

        SpringApplication.run(UWasteApplication.class, args);
    }

}
